package com.vinku.agent;

import com.vinku.agent.transformer.SimpleTransformer;

import java.lang.instrument.Instrumentation;

/**
 * @Author Vinku
 * @Date 2023/2/7
 * @Description
 */
public class AgentMain {

    public static void agentmain(String agentArgs, Instrumentation inst) {
        System.out.println("==============agentmain 执行===================");
        System.out.println("agentArgs: " + agentArgs);
        inst.addTransformer(new SimpleTransformer());
    }

}
